﻿using System.Runtime.Serialization;

namespace Ping.Core
{
	/// <summary>
	/// Contains all data to perform a ping.
	/// </summary>
	[DataContract]
	public sealed class PingRequest
		: Request
	{
		/// <summary>
		/// The address of the destination that shall be pinged.
		/// </summary>
		[DataMember] public IpAddress Destination;

		/// <summary>
		/// ???
		/// </summary>
		[DataMember] public bool DontFragment;

		/// <summary>
		/// The number of hops before a TTL Expired reply is sent.
		/// </summary>
		[DataMember] public int Ttl;
	}
}